Repository navigation
[Automated] Draft docs (kagent): helm/metrics: omit reader RBAC for HTTP metrics - #747
Merged
Merged
Conversation
…TTP metrics Signed-off-by: GitHub Action <action@github.com>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Rachael-Graham
approved these changes
Nov 30, 2026
Contributor
Author
Docs preview
Both are uploaded Worker versions and serve no production traffic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kagent-dev/kagent#3671 — helm/metrics: omit reader RBAC for HTTP metrics
Docs versions:
mainWhat changes for users: Installations that enable controller metrics with
config.metrics.secure: falsecan run with namespace-scoped permissions. The chart now omits the metrics RBAC for HTTP metrics, including whenrbac.namespacesorglobal.watchNamespacessets a namespace scope.What the docs now say: The Metrics page now separates secure HTTPS metrics from unauthenticated HTTP metrics. It explains that secure metrics require the
<fullname>-metrics-readerClusterRole, while HTTP metrics do not render metrics RBAC.How
kagent-3671was draftedPlan, and what changed it
config.metrics.secure: falsenamespace-scoped behavior to the page that already documents controller metrics.observability/metrics.mdstates that enabling metrics creates metrics RBAC, whileinstallation.mdis a full install walkthrough andoperational-considerations.mdonly links to the metrics page.docs-site/content/kagent/main/observability/metrics.mdand left the two routed candidate pages unchanged.Why a documentation change is necessary
The pull request changes the chart so HTTP controller metrics do not render the metrics reader ClusterRole or the metrics auth RBAC. The existing Metrics page said that enabling the metrics endpoint creates the metrics RBAC and that Prometheus access always depends on the metrics reader ClusterRole. That statement is now true only for secure metrics.
Rejected
docs-site/content/kagent/main/setup/installation.mdbecause it is an end-to-end install walkthrough, not the page where readers configure metric scraping. Rejecteddocs-site/content/kagent/main/operations/operational-considerations.mdbecause its metrics section is only a pointer to the Metrics page.How to verify this change
ClusterRoleorClusterRoleBinding.global.watchNamespaces.ClusterRoleorClusterRoleBinding.Proposed release note
No
proposed-release-note.md:markers.notes_placeableis false. Suggested text: Allow HTTP controller metrics with namespace-scoped installation permissions.Files in this pull request
docs-site/content/kagent/main/observability/metrics.mdHow the pages were chosen (triage report)
Feature clusters
Kept apart on purpose. Merging wrongly produces a guide that documents two things and explains neither, so these are reported for a person to merge rather than grouped automatically:
New configuration: no page mentions it yet
kagent-dev/kagent#3671 — helm/metrics: omit reader RBAC for HTTP metrics
kagent-dev/websiteDraft branch:
pr-tracker-draft-kagent-3671